package com.cw.service;

import com.cw.pojo.TbItem;
import com.cw.pojo.TbItemCat;
import com.cw.pojo.TbTypeTemplate;

import java.util.List;

public interface ItemService {
    List<TbItemCat> getItemInfo(Long id);

    List<TbTypeTemplate> getTemplate();

    void addItem(TbItemCat tc);

    TbItemCat getOneItemInfo(Long id);

    void updateItem(TbItemCat tc);

    String deleteItem(Long[] ids);

    Long getTypeId(Long id);

    List<TbItemCat> getAllItem();

    List<TbItem> getItem(Long goodsId);

    TbItem getItemById(Long itemId);
}
